PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Murky Mirror / martin - elusive impressions mix2 - flacc.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=0.952 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=4 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.002 |
| 26 | fWaveScale=0.079 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.220 |
| 29 | fModWaveAlphaStart=0.810 |
| 30 | fModWaveAlphaEnd=1.400 |
| 31 | fWarpAnimSpeed=1.459 |
| 32 | fWarpScale=2.007 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.600 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=182 |
| 77 | wavecode_0_sep=60 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.14868 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.400 |
| 88 | wave_0_per_frame1=t1 = 1; t2 = 0; |
| 89 | wavecode_1_enabled=0 |
| 90 | wavecode_1_samples=100 |
| 91 | wavecode_1_sep=0 |
| 92 | wavecode_1_bSpectrum=0 |
| 93 | wavecode_1_bUseDots=1 |
| 94 | wavecode_1_bDrawThick=1 |
| 95 | wavecode_1_bAdditive=0 |
| 96 | wavecode_1_scaling=0.89152 |
| 97 | wavecode_1_smoothing=0.00000 |
| 98 | wavecode_1_r=1.000 |
| 99 | wavecode_1_g=1.000 |
| 100 | wavecode_1_b=1.000 |
| 101 | wavecode_1_a=0.100 |
| 102 | wavecode_2_enabled=0 |
| 103 | wavecode_2_samples=512 |
| 104 | wavecode_2_sep=0 |
| 105 | wavecode_2_bSpectrum=0 |
| 106 | wavecode_2_bUseDots=0 |
| 107 | wavecode_2_bDrawThick=1 |
| 108 | wavecode_2_bAdditive=0 |
| 109 | wavecode_2_scaling=0.89152 |
| 110 | wavecode_2_smoothing=0.82000 |
| 111 | wavecode_2_r=1.000 |
| 112 | wavecode_2_g=1.000 |
| 113 | wavecode_2_b=1.000 |
| 114 | wavecode_2_a=0.100 |
| 115 | wavecode_3_enabled=0 |
| 116 | wavecode_3_samples=512 |
| 117 | wavecode_3_sep=0 |
| 118 | wavecode_3_bSpectrum=1 |
| 119 | wavecode_3_bUseDots=1 |
| 120 | wavecode_3_bDrawThick=0 |
| 121 | wavecode_3_bAdditive=0 |
| 122 | wavecode_3_scaling=1.00000 |
| 123 | wavecode_3_smoothing=0.50000 |
| 124 | wavecode_3_r=1.000 |
| 125 | wavecode_3_g=1.000 |
| 126 | wavecode_3_b=1.000 |
| 127 | wavecode_3_a=1.000 |
| 128 | shapecode_0_enabled=1 |
| 129 | shapecode_0_sides=16 |
| 130 | shapecode_0_additive=0 |
| 131 | shapecode_0_thickOutline=0 |
| 132 | shapecode_0_textured=1 |
| 133 | shapecode_0_num_inst=5 |
| 134 | shapecode_0_x=0.730 |
| 135 | shapecode_0_y=0.500 |
| 136 | shapecode_0_rad=0.29466 |
| 137 | shapecode_0_ang=0.00000 |
| 138 | shapecode_0_tex_ang=0.00000 |
| 139 | shapecode_0_tex_zoom=2.79176 |
| 140 | shapecode_0_r=0.700 |
| 141 | shapecode_0_g=0.700 |
| 142 | shapecode_0_b=1.000 |
| 143 | shapecode_0_a=1.000 |
| 144 | shapecode_0_r2=0.000 |
| 145 | shapecode_0_g2=0.000 |
| 146 | shapecode_0_b2=0.000 |
| 147 | shapecode_0_a2=0.000 |
| 148 | shapecode_0_border_r=1.000 |
| 149 | shapecode_0_border_g=1.000 |
| 150 | shapecode_0_border_b=0.000 |
| 151 | shapecode_0_border_a=0.000 |
| 152 | shape_0_per_frame1=trig = q25; |
| 153 | shape_0_per_frame2=a = trig*min(bass+treb,1); a2 = trig*0; |
| 154 | shape_0_per_frame3=//a = min(bass+treb-1,1); |
| 155 | shape_0_per_frame4=x0 = x0 *bnot(trig) + trig*int(rand(100))/100; |
| 156 | shape_0_per_frame5=y0 = y0 *bnot(trig) + trig*int(rand(100))/100; |
| 157 | shape_0_per_frame6= |
| 158 | shape_0_per_frame7= |
| 159 | shape_0_per_frame8=k1 = instance/num_inst*6.28; |
| 160 | shape_0_per_frame9=ampl = .1*q22+.1; |
| 161 | shape_0_per_frame10= |
| 162 | shape_0_per_frame11= |
| 163 | shape_0_per_frame12=x0 = .5 +q15*ampl *cos(k1+q17); y0 = .5+ q16*ampl*sin(k1+q17); |
| 164 | shape_0_per_frame13= |
| 165 | shape_0_per_frame14= |
| 166 | shape_0_per_frame15=tex_ang = int(rand(20))/3; |
| 167 | shape_0_per_frame16=//tex_ang = time; |
| 168 | shape_0_per_frame17=rad = .1 + int(rand(8))/12; |
| 169 | shape_0_per_frame18= |
| 170 | shape_0_per_frame19=x = x0; y = y0; |
| 171 | shape_0_per_frame20=r = .7+.3*sin(time/12); |
| 172 | shape_0_per_frame21=b = .7+.3*sin(time/15); |
| 173 | shape_0_per_frame22=g = .7+.3*sin(time/8); |
| 174 | shape_0_per_frame23=r2 = r; b2 = b; g2 = g; |
| 175 | shapecode_1_enabled=1 |
| 176 | shapecode_1_sides=32 |
| 177 | shapecode_1_additive=0 |
| 178 | shapecode_1_thickOutline=0 |
| 179 | shapecode_1_textured=0 |
| 180 | shapecode_1_num_inst=37 |
| 181 | shapecode_1_x=0.500 |
| 182 | shapecode_1_y=0.500 |
| 183 | shapecode_1_rad=0.03640 |
| 184 | shapecode_1_ang=0.81681 |
| 185 | shapecode_1_tex_ang=0.37699 |
| 186 | shapecode_1_tex_zoom=1.02841 |
| 187 | shapecode_1_r=1.000 |
| 188 | shapecode_1_g=1.000 |
| 189 | shapecode_1_b=1.000 |
| 190 | shapecode_1_a=0.050 |
| 191 | shapecode_1_r2=1.000 |
| 192 | shapecode_1_g2=1.000 |
| 193 | shapecode_1_b2=1.000 |
| 194 | shapecode_1_a2=0.000 |
| 195 | shapecode_1_border_r=1.000 |
| 196 | shapecode_1_border_g=1.000 |
| 197 | shapecode_1_border_b=1.000 |
| 198 | shapecode_1_border_a=0.000 |
| 199 | shape_1_per_frame1=k1 = instance/num_inst*6.28; |
| 200 | shape_1_per_frame2=tmp = q17/32+time*.1; |
| 201 | shape_1_per_frame3=trel = tmp-int(tmp); |
| 202 | shape_1_per_frame4= |
| 203 | shape_1_per_frame5=yes = above(sin(time/9.5),0); |
| 204 | shape_1_per_frame6= |
| 205 | shape_1_per_frame7=bright = 6*q2*q2*yes+.1*min(q8,1); |
| 206 | shape_1_per_frame8=border_a = bright; |
| 207 | shape_1_per_frame9= |
| 208 | shape_1_per_frame10=tmp = 2*sin(time/12)-1; |
| 209 | shape_1_per_frame11=a = .5*yes*pow(2,-18*abs(k1-6.28*trel)) * above(tmp,0)*tmp*tmp; |
| 210 | shape_1_per_frame12=ampl = .1; |
| 211 | shape_1_per_frame13=rad = .02+.0*sin(k1*4+time); |
| 212 | shape_1_per_frame14=x = .5 +q15*ampl *cos(k1+q17); y = .5+ q16*ampl*sin(k1+q17); |
| 213 | shape_1_per_frame15= |
| 214 | shape_1_per_frame16=r0 = sin(time/7); |
| 215 | shape_1_per_frame17=g0 = sin(time/5); |
| 216 | shape_1_per_frame18=b0 = sin(time/9); |
| 217 | shape_1_per_frame19= |
| 218 | shape_1_per_frame20=border_r = .8 + .2*r0; |
| 219 | shape_1_per_frame21=border_g = .8 + .2*g0; |
| 220 | shape_1_per_frame22=border_b = .8 + .2*b0; |
| 221 | shape_1_per_frame23= |
| 222 | shape_1_per_frame24= |
| 223 | shape_1_per_frame25=//r = .5*r0; g = .5*g0; b = 0.5*b0; ; |
| 224 | shape_1_per_frame26= |
| 225 | shape_1_per_frame27=//r2 = 0; g2 = 0; b2 = 0; |
| 226 | shape_1_per_frame28= |
| 227 | shape_1_per_frame29=a2 = 0; |
| 228 | shape_1_per_frame30= |
| 229 | shapecode_2_enabled=1 |
| 230 | shapecode_2_sides=32 |
| 231 | shapecode_2_additive=1 |
| 232 | shapecode_2_thickOutline=1 |
| 233 | shapecode_2_textured=0 |
| 234 | shapecode_2_num_inst=33 |
| 235 | shapecode_2_x=0.500 |
| 236 | shapecode_2_y=0.500 |
| 237 | shapecode_2_rad=0.10000 |
| 238 | shapecode_2_ang=0.00000 |
| 239 | shapecode_2_tex_ang=0.00000 |
| 240 | shapecode_2_tex_zoom=1.00000 |
| 241 | shapecode_2_r=0.000 |
| 242 | shapecode_2_g=0.500 |
| 243 | shapecode_2_b=0.000 |
| 244 | shapecode_2_a=1.000 |
| 245 | shapecode_2_r2=0.000 |
| 246 | shapecode_2_g2=0.500 |
| 247 | shapecode_2_b2=0.000 |
| 248 | shapecode_2_a2=0.000 |
| 249 | shapecode_2_border_r=1.000 |
| 250 | shapecode_2_border_g=1.000 |
| 251 | shapecode_2_border_b=1.000 |
| 252 | shapecode_2_border_a=0.000 |
| 253 | shape_2_per_frame1=trans = int(rand(int(q1)))/5+instance-instance; |
| 254 | shape_2_per_frame2=trans2 = int(rand(int(q1)))/5+instance-instance; |
| 255 | shape_2_per_frame3=trans3 = int(rand(int(q1)))/5+instance-instance; |
| 256 | shape_2_per_frame4=a = trans; |
| 257 | shape_2_per_frame5= |
| 258 | shape_2_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 259 | shape_2_per_frame7=y = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*bass_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 260 | shape_2_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 261 | shape_2_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 262 | shape_2_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 263 | shape_2_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 264 | shape_2_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 265 | shape_2_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 266 | shape_2_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 267 | shape_2_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 268 | shape_2_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 269 | shape_2_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 270 | shapecode_3_enabled=1 |
| 271 | shapecode_3_sides=32 |
| 272 | shapecode_3_additive=0 |
| 273 | shapecode_3_thickOutline=1 |
| 274 | shapecode_3_textured=1 |
| 275 | shapecode_3_num_inst=7 |
| 276 | shapecode_3_x=0.500 |
| 277 | shapecode_3_y=0.500 |
| 278 | shapecode_3_rad=0.10000 |
| 279 | shapecode_3_ang=0.00000 |
| 280 | shapecode_3_tex_ang=0.00000 |
| 281 | shapecode_3_tex_zoom=1.00000 |
| 282 | shapecode_3_r=0.000 |
| 283 | shapecode_3_g=0.000 |
| 284 | shapecode_3_b=0.500 |
| 285 | shapecode_3_a=1.000 |
| 286 | shapecode_3_r2=0.000 |
| 287 | shapecode_3_g2=0.000 |
| 288 | shapecode_3_b2=0.500 |
| 289 | shapecode_3_a2=0.000 |
| 290 | shapecode_3_border_r=1.000 |
| 291 | shapecode_3_border_g=1.000 |
| 292 | shapecode_3_border_b=1.000 |
| 293 | shapecode_3_border_a=0.000 |
| 294 | shape_3_per_frame1=trans = int(rand(int(q1)))/15+instance-instance; |
| 295 | shape_3_per_frame2=trans2 = int(rand(int(q1)))/15+instance-instance; |
| 296 | shape_3_per_frame3=trans3 = int(rand(int(q1)))/15+instance-instance; |
| 297 | shape_3_per_frame4=a = trans; |
| 298 | shape_3_per_frame5= |
| 299 | shape_3_per_frame6=x = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 300 | shape_3_per_frame7=y = (sin(q23)+1.57)*.3 + int(rand(15))*0.01*mid_att*if(equal(int(rand(2)),1),1,-1)+instance-instance; |
| 301 | shape_3_per_frame8=rad = .09 + int(rand(int(q1)))/15+instance-instance; |
| 302 | shape_3_per_frame9=r=int(rand(q1))*.1+instance-instance; |
| 303 | shape_3_per_frame10=g=int(rand(q1))*.1+instance-instance; |
| 304 | shape_3_per_frame11=b=int(rand(q1))*.1+instance-instance; |
| 305 | shape_3_per_frame12=r2=int(rand(q1))*.1+instance-instance; |
| 306 | shape_3_per_frame13=g2=int(rand(q1))*.1+instance-instance; |
| 307 | shape_3_per_frame14=b2=int(rand(q1))*.1+instance-instance; |
| 308 | shape_3_per_frame15=border_r=int(rand(q1))*.1+instance-instance; |
| 309 | shape_3_per_frame16=border_g=int(rand(q1))*.1+instance-instance; |
| 310 | shape_3_per_frame17=border_b=int(rand(q1))*.1+instance-instance; |
| 311 | shape_3_per_frame18= |
| 312 | per_frame_init_1=avg = 1; |
| 313 | per_frame_init_2=index = int(rand(8)); |
| 314 | per_frame_init_3=index2 = int(rand(8)); |
| 315 | per_frame_init_4=ran = 1; |
| 316 | per_frame_init_5=spb_=.3; |
| 317 | per_frame_init_6=sdev = .1; |
| 318 | per_frame_init_7=trel2 = rand (100)/100; |
| 319 | per_frame_1=vol=bass+treb+mid; |
| 320 | per_frame_2=q1=vol*1.5; |
| 321 | per_frame_3=atime=atime+vol; |
| 322 | per_frame_4=q23=atime; |
| 323 | per_frame_5=dec_med = pow (0.9, 30/fps); dec_slow = pow (0.98, 30/fps); |
| 324 | per_frame_6=beat = bass+mid+treb; |
| 325 | per_frame_7=avg = avg*dec_slow + beat*(1-dec_slow); |
| 326 | per_frame_8=is_beat = above(beat, .2+avg+peak) * above (time, t0+.1); |
| 327 | per_frame_9=t0 = is_beat*time + (1-is_beat)*t0; |
| 328 | per_frame_10=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 329 | per_frame_11=index = (index + is_beat) %16; |
| 330 | per_frame_12=index2 = (index2 + is_beat*bnot(index))%12; |
| 331 | per_frame_13= |
| 332 | per_frame_14=spb = min(t0-t0a + .01,2); t0a = t0; |
| 333 | per_frame_15=spb_ = if(is_beat,spb_ *.9 +.1*spb, spb_); |
| 334 | per_frame_16=mindev = min(min(abs(spb-spb_),abs(spb*2-spb_)),abs(spb-spb_*2)); |
| 335 | per_frame_17=sdev = if(is_beat,sdev * .9 + .1*pow(mindev+.02,2),sdev); |
| 336 | per_frame_18= |
| 337 | per_frame_19=q20 = avg; q21 = beat; |
| 338 | per_frame_20=q22 = peak+.1; |
| 339 | per_frame_21=q24 = is_beat; |
| 340 | per_frame_22=q27 = index; q28 = index2; |
| 341 | per_frame_23= |
| 342 | per_frame_24=trel = trel + 1/fps/spb_*4; itrel = int(trel); |
| 343 | per_frame_25=q25 = above(itrel, itrel_); |
| 344 | per_frame_26=q30 = itrel%2; |
| 345 | per_frame_27=itrel_ = itrel; |
| 346 | per_frame_28=q31 = itrel; |
| 347 | per_frame_29= |
| 348 | per_frame_30=ma = ma + peak/fps ; |
| 349 | per_frame_31=mx=mx*dec_med+(1-dec_med)*cos(ma); |
| 350 | per_frame_32=my=my*dec_med+(1-dec_med)*sin(ma+trel/16); |
| 351 | per_frame_33=q15 = mx ; q16 = my ; q17 = ma; |
| 352 | per_frame_34= |
| 353 | per_frame_35=//first par: off; second: on |
| 354 | per_frame_36=sw1 = if(sw1,bnot(q24*bnot(int(rand(20)))),q24*bnot(int(rand(20)))); |
| 355 | per_frame_37=sw2 = if(sw2,bnot(q24*bnot(int(rand(10)))),q24*bnot(int(rand(80)))); |
| 356 | per_frame_38=sw3 = if(sw3,bnot(q24*bnot(int(rand(10)))),q24*bnot(int(rand(100+10000*sdev)))); |
| 357 | per_frame_39= |
| 358 | per_frame_40=//********* variation parameters warp shader |
| 359 | per_frame_41=q6 = sin(time/15)*sin(time/27)*.2; //zz weighting |
| 360 | per_frame_42=q10 = sin(time/8); //ring |
| 361 | per_frame_43=q10 = q10*q10*.1; |
| 362 | per_frame_44=q11 = 1.5+sin(time/7.8); //zoom uv2 |
| 363 | per_frame_45=q12 = if(below(sdev,.015)*bnot(q8),q25,1); //go |
| 364 | per_frame_46=q13 = .5+sin(time/17); //pow noise warp s |
| 365 | per_frame_47=q19 = sin(time/5.3)*.2; //sunpos |
| 366 | per_frame_48= |
| 367 | per_frame_49=//********* variation parameters comp shader |
| 368 | per_frame_50=q3 = sw1;//mirror |
| 369 | per_frame_51=q4 = .02/sdev; //unused ### |
| 370 | per_frame_52=q5 = max(min(4*sin(trel/64)-3,1),0)*.4; //water |
| 371 | per_frame_53=q7 = below(sdev,.004)*(index2%2); //flash |
| 372 | per_frame_54=q2 = abs(q19)*sqrt(q15*q15+q16*q16); //avoid black - frame eq2 |
| 373 | per_frame_55= |
| 374 | per_frame_56=trel2 = trel2+.003*q22*q22/fps; |
| 375 | per_frame_57=tmp = sin(trel2); |
| 376 | per_frame_58=tmp = 20*tmp-19; |
| 377 | per_frame_59=q8 = tmp*above(tmp,0)*(4/max(q22-4,0.2)+4); // dyn zoom |
| 378 | per_frame_60=q26 = above(q22,12)*(q22-12)*2; //# ok??? |
| 379 | per_frame_61= |
| 380 | per_frame_62=tmp = index2/6; |
| 381 | per_frame_63=q14 = abs((tmp-int(tmp))-.5)*6+1; //ang multi |
| 382 | per_frame_64= |
| 383 | per_frame_65=tmp =sin(trel/4*3.14); //sym rot |
| 384 | per_frame_66=jmp = jmp + above(tmp,.5)*tmp/fps*8*sw2; |
| 385 | per_frame_67=q9 = jmp*equal(q14,1)*below(sdev,0.04)+time*above(sin(q17/23),.9); |
| 386 | per_frame_68=q18 = tmp * bnot(q8) * sw3; //waber |
| 387 | per_frame_69= |
| 388 | per_frame_70=monitor = sw1; |
| 389 | per_frame_71=rot = .003; |
| 390 | per_frame_72=warp = .0; |
| 391 | per_frame_73=zoom = 1+(avg-log(sdev))/200; |
| 392 | per_frame_74=//dx = tmp*.01*above(abs(tmp),.95); |
| 393 | warp_1=`float3 dx,dy,ret1; |
| 394 | warp_2=`float2 zz,uv1,uv2; |
| 395 | warp_3=`float n1,n2,n3,n4,zv, noise, k1; |
| 396 | warp_4=`static float2 sunpos = float2 (q15,q16)*q19 ;//##! |
| 397 | warp_5=`static float3 suncol = .5+normalize(roam_cos); |
| 398 | warp_6=`static float2x2 ofs = float2x2 (texsize.z,0,0,texsize.w)*2; |
| 399 | warp_7=` |
| 400 | warp_8=`float3 cloud (float2 uv_in) { |
| 401 | warp_9=`return saturate(+.0005/abs(length(uv_in-sunpos)-q10/q22))*suncol;} |
| 402 | warp_10=` |
| 403 | warp_11=`shader_body { |
| 404 | warp_12=`uv1 = (uv-.5);//*aspect.xy; |
| 405 | warp_13=` |
| 406 | warp_14=`dx = tex2D(sampler_main,uv+ofs[0]) - tex2D(sampler_main,uv-ofs[0]); |
| 407 | warp_15=`dy = tex2D(sampler_main,uv+ofs[1]) - tex2D(sampler_main,uv-ofs[1]); |
| 408 | warp_16=`zz = float2(dx.b,dy.b); |
| 409 | warp_17=` |
| 410 | warp_18=`//clouds |
| 411 | warp_19=`zv = time*.1 ; |
| 412 | warp_20=`uv2 = q11*uv1+ 0.04*time; |
| 413 | warp_21=`n1 = tex3D(sampler_noisevol_hq,float3 (uv2.x,uv2.y,zv)).b; |
| 414 | warp_22=`n2 = tex3D(sampler_noisevol_hq,float3 (uv2.x*2,uv2.y*2,zv*2)).b; |
| 415 | warp_23=`n3 = tex3D(sampler_noisevol_hq,float3 (uv2.x*4,uv2.y*4,zv*3)).b; |
| 416 | warp_24=`n4 = tex3D(sampler_noisevol_hq,float3 (uv2.x*8,uv2.y*8,zv*7)).b; |
| 417 | warp_25=`noise = n1 + n2/2 + n3/4 + n4/8 -1; |
| 418 | warp_26=` |
| 419 | warp_27=`noise = pow(noise,q13); |
| 420 | warp_28=`uv2 = uv1*(1+.5*q2)+noise*.1; //q2 hier ? ## |
| 421 | warp_29=` |
| 422 | warp_30=`//******************************* |
| 423 | warp_31=`float blur = GetBlur3(uv1/4+.5)+.2; |
| 424 | warp_32=` |
| 425 | warp_33=`ret1 = cloud(uv2) ; |
| 426 | warp_34=`ret1 = ret1/blur + tex2D (sampler_main, uv1+.5+q6*zz)*.98-.01-blur*.1-.0*length(zz); |
| 427 | warp_35=`float go = q12; |
| 428 | warp_36=`ret = go*ret1 + (1-go)*GetPixel(uv) ; |
| 429 | warp_37=` |
| 430 | warp_38=`} |
| 431 | comp_1=`float3 ret1, neu; |
| 432 | comp_2=`float2 uv1, uv2,uv4,rsk,dz1,Kugel1; |
| 433 | comp_3=`float ang2, c, s,rad1,mask1,zoom; |
| 434 | comp_4=`static int n = 1; |
| 435 | comp_5=`static int anz = 4; |
| 436 | comp_6=`int m; |
| 437 | comp_7=` |
| 438 | comp_8=`shader_body { |
| 439 | comp_9=` |
| 440 | comp_10=`uv = (uv-.5)*aspect.xy; |
| 441 | comp_11=`//Kugel1 |
| 442 | comp_12=`rsk = uv+.2 ; |
| 443 | comp_13=`dz1 = normalize(rsk); |
| 444 | comp_14=`rad1 = 16*length (rsk) ; |
| 445 | comp_15=`uv4 = tan(rad1)*dz1; |
| 446 | comp_16=`mask1 = saturate(10-7*rad1); |
| 447 | comp_17=`Kugel1 = uv4*mask1; |
| 448 | comp_18=` |
| 449 | comp_19=`float2 rs = float2(.1/rad*q15,ang*.2*q22); |
| 450 | comp_20=`float noise = tex2D (sampler_noise_mq,rs); |
| 451 | comp_21=` |
| 452 | comp_22=` |
| 453 | comp_23=`uv /= 1+ q8*length(uv); //zoom |
| 454 | comp_24=`uv *= 1-q28%2/4; |
| 455 | comp_25=`uv *= 1+q5*noise*rad; |
| 456 | comp_26=`uv *=1; |
| 457 | comp_27=`ret1 = 0; |
| 458 | comp_28=`while (n <= anz) { |
| 459 | comp_29=` m = n%2; |
| 460 | comp_30=` ang2 = 6.28*n/anz*q14 + 0*(n%2-.5)*q9 + q28*3.14/4;//## |
| 461 | comp_31=` c = cos(ang2); |
| 462 | comp_32=` s = sin(ang2); |
| 463 | comp_33=` uv2.x = uv.x*c - uv.y*s; |
| 464 | comp_34=` uv2.y = uv.x*s + uv.y*c ; |
| 465 | comp_35=` uv2 /= 1+ q26*length(uv)*m; //flash zoom |
| 466 | comp_36=` uv2 *= 1+(m-.5)*q18; //waber |
| 467 | comp_37=` if (q3*m == 1) {uv2=uv2.yx;} |
| 468 | comp_38=` neu = tex2D(sampler_main, uv2 + 0.5); //# |
| 469 | comp_39=` ret1 = max(ret1,neu-.0); |
| 470 | comp_40=` n++; |
| 471 | comp_41=`} |
| 472 | comp_42=`ret1 *= ((1-q7)+q7*q25/2); |
| 473 | comp_43=`ret = 1-exp(-ret1*4); |
| 474 | comp_44=`ret = pow(ret,1.5); |
| 475 | comp_45=`ret = lerp(lum(ret),ret,saturate(q20/3)); |
| 476 | comp_46=`//ret = GetPixel(uv+.5);//# |
| 477 | comp_47=`} |